package com.gw.quotes.net;

import java.io.Serializable;
import java.util.HashMap;

public class Request implements Serializable {

	private static final long serialVersionUID = 1L;

	private String loginname;

	private String password;

	private String goodsclassguid;

	private String priceguid;

	private String ticket;

	private String projectguid;

	private String qutationjson;

	private String goodscode;

	private String contractguid;

	private int pageNo = 1;
	private int pageSize = 10;

	private String name;

	private int projecttype;

	private String orderguid;

	private Object[] paras;

	/**
	 * 订单列表参数
	 */
	private String jsonconditions;

	public String getJsonconditions() {
		return jsonconditions;
	}

	public void setJsonconditions(int status, int year) {
		this.jsonconditions = "{\"status\":\"" + status + "\",\"year\":\""
				+ year + "\"}";
	}

	public void setJsonconditions(String jsonconditions) {
		this.jsonconditions = jsonconditions;
	}

	public void setJsonconditions() {
		this.jsonconditions = "{}";
	}

	public String getLoginname() {
		return loginname;
	}

	public void setLoginname(String loginname) {
		this.loginname = loginname;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getGoodsclassguid() {
		return goodsclassguid;
	}

	public void setGoodsclassguid(String goodsclassguid) {
		this.goodsclassguid = goodsclassguid;
	}

	public String getPriceguid() {
		return priceguid;
	}

	public void setPriceguid(String priceguid) {
		this.priceguid = priceguid;
	}

	public String getTicket() {
		return ticket;
	}

	public void setTicket(String ticket) {
		this.ticket = ticket;
	}

	public String getProjectguid() {
		return projectguid;
	}

	public void setProjectguid(String projectguid) {
		this.projectguid = projectguid;
	}

	@Override
	public String toString() {
		return "";
	}

	public int getProjecttype() {
		return projecttype;
	}

	public void setProjecttype(int projecttype) {
		this.projecttype = projecttype;
	}

	public String getQutationjson() {
		return qutationjson;
	}

	public void setQutationjson(String qutationjson) {
		this.qutationjson = qutationjson;
	}

	public String getGoodscode() {
		return goodscode;
	}

	public void setGoodscode(String goodscode) {
		this.goodscode = goodscode;
	}

	public int getPageNo() {
		return pageNo;
	}

	public void setPageNo(int pageNo) {
		this.pageNo = pageNo;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getContractguid() {
		return contractguid;
	}

	public void setContractguid(String contractguid) {
		this.contractguid = contractguid;
	}

	public String getOrderguid() {
		return orderguid;
	}

	public void setOrderguid(String orderguid) {
		this.orderguid = orderguid;
	}

	public Object[] getParas() {
		return paras;
	}

	public void setParas(Object... paras) {
		this.paras = paras;
	}

}
